package com.duobaoyu.dby.supply.biz.client.resource.bean.dto;

import com.duobaoyu.dby.channel.adapter.enums.biz.config.ScriptTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName ScriptDebugDTO
 * @Description 脚本调试入参
 * @createTime 15:03:00 2023/05/09
 */
@Data
public class ScriptDebugBizDTO implements Serializable {

    private static final long serialVersionUID = -200214281104838730L;
    /**
     * 脚本类型
     * @see ScriptTypeEnum
     */
    @NotBlank(message = "脚本类型不能为空")
    private String scriptType;

    /**
     * 脚本
     */
    @NotBlank(message = "脚本不能为空")
    private String script;

    /**
     * 脚本参数
     */
    private String params;
}
